home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Programming Contest / MacHack Contest.sit / MacHack Contest / Test Code Folder / Problem 02 Test Code / Main.cp next >
MacBinary  |  1998-06-06  |  1.0 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MS-DOS Code Page Info (other/dosCodePage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Jun 6 21:27:50 1998, modified Sat Jun 6 21:27:50 1998, creator 'CWIE', type ASCII, 311 bytes "Main.cp" , at 0x1b7 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 4d 61 69 6e 2e 63 | 70 00 00 00 00 00 00 00 |..Main.c|p.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 01 37 00 | 00 01 9a b1 9f 9d 16 b1 |......7.|........|
|00000060| 9f 9d 16 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5b f3 00 00 |........|....[...|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 53 6f 6c 75 74 69 |#include| "Soluti|
|00000090| 6f 6e 2e 68 22 0d 0d 23 | 69 6e 63 6c 75 64 65 20 |on.h"..#|include |
|000000a0| 22 50 72 6f 62 6c 65 6d | 55 74 69 6c 73 2e 68 22 |"Problem|Utils.h"|
|000000b0| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 69 |..#inclu|de <stdi|
|000000c0| 6f 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 46 |o.h>.#in|clude <F|
|000000d0| 69 6c 65 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |iles.h>.|#include|
|000000e0| 20 3c 45 72 72 6f 72 73 | 2e 68 3e 0d 0d 70 61 73 | <Errors|.h>..pas|
|000000f0| 63 61 6c 20 4f 53 45 72 | 72 20 43 68 65 63 6b 48 |cal OSEr|r CheckH|
|00000100| 6f 77 65 72 4f 66 54 61 | 6e 6f 69 28 20 63 6f 6e |owerOfTa|noi( con|
|00000110| 73 74 20 46 53 53 70 65 | 63 2a 20 69 6e 66 69 6c |st FSSpe|c* infil|
|00000120| 65 2c 20 63 6f 6e 73 74 | 20 46 53 53 70 65 63 2a |e, const| FSSpec*|
|00000130| 20 6f 75 74 66 69 6c 65 | 2c 20 42 6f 6f 6c 65 61 | outfile|, Boolea|
|00000140| 6e 20 2a 63 6f 72 72 65 | 63 74 20 29 3b 0d 0d 69 |n *corre|ct );..i|
|00000150| 6e 74 20 6d 61 69 6e 28 | 29 0d 7b 0d 09 70 72 69 |nt main(|).{..pri|
|00000160| 6e 74 66 28 20 22 53 74 | 61 72 74 69 6e 67 5c 6e |ntf( "St|arting\n|
|00000170| 22 20 29 3b 0d 09 0d 09 | 50 72 6f 62 6c 65 6d 52 |" );....|ProblemR|
|00000180| 75 6e 53 69 6e 67 6c 65 | 46 69 6c 65 54 65 73 74 |unSingle|FileTest|
|00000190| 73 28 20 43 68 65 63 6b | 48 6f 77 65 72 4f 66 54 |s( Check|HowerOfT|
|000001a0| 61 6e 6f 69 20 29 3b 0d | 0d 09 72 65 74 75 72 6e |anoi );.|..return|
|000001b0| 20 30 3b 0d 7d 0d 0d 00 | 00 00 00 00 00 00 00 00 | 0;.}...|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000210| 2b 30 38 30 30 31 35 3a | 35 35 3a 33 32 20 31 39 |+080015:|55:32 19|
|00000220| 39 38 00 00 00 00 00 00 | 00 00 b1 78 6a 77 00 00 |98......|...xjw..|
|00000230| 07 4d 61 69 6e 2e 63 70 | 65 64 20 4d 61 63 48 61 |.Main.cp|ed MacHa|
|00000240| 63 6b 20 43 6f 6e 74 65 | 73 74 31 2e 73 69 74 69 |ck Conte|st1.siti|
|00000250| 02 4a 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |.JPartSI|T!......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 b1 b0 40 90 00 00 | 00 00 00 00 01 9a 00 00 |....@...|........|
|00000280| 00 00 29 bc 7f 92 00 00 | 00 00 20 52 65 3a 20 46 |..).....|.. Re: F|
|00000290| 6f 6c 64 65 72 20 48 69 | 65 72 61 72 63 68 79 20 |older Hi|erarchy |
|000002a0| 44 75 70 6c 69 63 61 74 | 69 6f 6e 0d 00 00 00 00 |Duplicat|ion.....|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 04 36 35 37 a4 00 00 |........|..657...|
|000002d0| 00 00 00 00 00 00 00 00 | 00 01 be ab 00 00 05 f2 |........|........|
|000002e0| 00 00 02 90 02 07 31 32 | 2f 35 2f 39 38 34 30 30 |......12|/5/98400|
|000002f0| 30 32 31 3a 30 31 3a 35 | 36 20 31 39 39 38 00 00 |021:01:5|6 1998..|
|00000300| 00 00 00 48 00 0a 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 02 | 00 02 00 40 00 43 02 c1 |........|...@.C..|
|00000330| 03 60 00 40 00 43 02 c1 | 03 60 b1 9f 56 c6 00 00 |.`.@.C..|.`..V...|
|00000340| 00 6d 00 00 01 37 00 00 | 00 00 01 00 00 00 00 04 |.m...7..|........|
|00000350| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000360| 00 00 00 46 04 dc 54 ac | 34 e2 00 00 00 1c 00 46 |...F..T.|4......F|
|00000370| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000380| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000390| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+